package com.qiaofang.collectmanage.stub.request;

import com.qiaofang.collectmanage.stub.bean.SearchCollectRulePostDTO;
import com.qiaofang.common.model.page.PageDTO;
import com.qiaofang.common.request.CommonRequest;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * Copyright (C), 2002-2017, 上海巧房信息技术有限公司
 * FileName: SearchCollectRulePageRequest
 * Author:   yi.li
 * Date:     2018/7/2 13:59
 * Description: 根据条件获取分页列表请求
 * History: //修改记录
 * <author>      <time>      <version>    <desc>
 * 修改人姓名             修改时间            版本号                  描述
 */
public class SearchCollectRulePageRequest extends CommonRequest {

    @NotNull(message = "分页对象不能为空")
    @Valid
    private PageDTO pageDTO;

    private SearchCollectRulePostDTO searchCollectRulePostDTO;

    public SearchCollectRulePostDTO getSearchCollectRulePostDTO() {
        return searchCollectRulePostDTO;
    }

    public void setSearchCollectRulePostDTO(SearchCollectRulePostDTO searchCollectRulePostDTO) {
        this.searchCollectRulePostDTO = searchCollectRulePostDTO;
    }

    public PageDTO getPageDTO() {
        return pageDTO;
    }

    public void setPageDTO(PageDTO pageDTO) {
        this.pageDTO = pageDTO;
    }
}
